package indi.zhifa.study2024.busy.generaltest.enums.common;

import com.baomidou.mybatisplus.annotation.EnumValue;
import indi.zhifa.core.enummemo.entity.ann.EnumDesc;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

@RequiredArgsConstructor
@EnumDesc(name = "排序",desc = "排序")
public enum EOrderType {

    NONE(0,"不排序","不排序",null),
    ASC(1,"升序","升序","ASC"),
    DESC(2,"降序","降序","DESC");


    @EnumValue
    @Getter
    private final int code;
    @Getter
    private final String name;
    @Getter
    private final String desc;
    @Getter
    private final String key;
}
